package com.site.wisdom_construction.service.qualityModule;

import com.site.wisdom_construction.dao.qualityModule.QualityInspectionRecordDao;
import com.site.wisdom_construction.entity.qualityModule.QualityInspectionRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/13
 * @Description
 */
@Service
public class QualityInspectionRecordService implements QualityInspectionRecordDao {
    @Autowired
    private QualityInspectionRecordDao qualityInspectionRecordDao;

    @Override
    public int insertQualityInspectionRecord(Map map) {
        return qualityInspectionRecordDao.insertQualityInspectionRecord(map);
    }

    @Override
    public int deleteQualityInspectionRecord(Map map) {
        return qualityInspectionRecordDao.deleteQualityInspectionRecord(map);
    }

    @Override
    public int updateQualityInspectionRecord(Map map) {
        return qualityInspectionRecordDao.updateQualityInspectionRecord(map);
    }

    @Override
    public List<QualityInspectionRecord> findQualityInspectionRecordByPage(Map map) {
        return qualityInspectionRecordDao.findQualityInspectionRecordByPage(map);
    }

    @Override
    public long Total(Map map) {
        return qualityInspectionRecordDao.Total(map);
    }
}
